067 how to navigate to multiple screens in hmi
好吧,这是一个简短的视频,用于了解如何在屏幕之间导航,如果您注意到如果最初在屏幕树中没有足够的屏幕设置...
Alright this is a short video to understand how to navigate between screens now if you notice that if you don't have enough screen setup initially in the screen tree...
您可以添加更多屏幕,所以让我们添加两个屏幕,这样我就有屏幕 1 和屏幕 2 ...现在我需要制作按钮,以便我可以导航到更多屏幕,因为有时当您最初不制作屏幕时,您必须制作它自己制作按钮进行导航,因此在根屏幕中我们需要两个按钮,所以让我们在这里使用这个按钮,然后将其重命名为“屏幕 1”,然后我再次使用..
you can add more screens so let's add two screens so I have screen 1 and screen 2 ...now I need to make buttons so that I can navigate to more screens because sometimes when you don't make screens initially you have to make it by yourself and make the buttons to navigate so in the root screen we need two buttons so let's take this button here and let's rename it rename it as 'screen 1' and then again I'll take..
我将复制/粘贴这个以使其变得容易......
i will just copy/paste this one to make it easy...
我将其重命名为 screen - 2。
I rename it as screen - 2.
好的..所以让我安排一下..现在我将复制这两个按钮,然后转到屏幕 1,这将是屏幕 0,这是我的根屏幕,所以我将其命名为“屏幕 0”,这是屏幕 2 - 没关系,因为这是“屏幕 1”,所以以防万一,如果您愿意,我可以在这里写下,这是我的“屏幕 1”,好吗?
Okay ..so let me just arrange it ..now I will just copy these two buttons and I'll go to screen 1 and this will be screen 0 which is my root screen so I'll name it as 'Screen 0' and this is screen 2 - that's okay because this is 'Screen 1' so just in case if you want I can write it here this is my 'Screen 1' ok?
复制那个...转到“屏幕 2” - 这是我的“屏幕 2”- 这只是为了向您展示我们正在导航,因此复制这个...这是“屏幕 2”..-这是“屏幕 1”,所以“屏幕 2”有 2 个按钮可以移动到“屏幕 0”和“屏幕 0”。 “屏幕 1”和“屏幕 1”有两个按钮可从“屏幕 0”和“屏幕 2”移动,根屏幕有“屏幕 1”和“屏幕 2”,所以现在如何执行此操作,请单击“屏幕 1” ' 然后去属性并去活动..
Copying that one ...go to 'Screen 2' - this is my 'Screen 2' - this is just to show you that we are getting navigated so copy this one ...here this is the 'Screen 2'..- this is 'Screen 1' ok so 'Screen 2' has 2 buttons to move to 'Screen 0' & 'Screen 1' and 'Screen 1' has two buttons to move from 'Screen 0' and 'Screen 2' and Root screen has 'Screen 1' and 'Screen 2' so how to do that now so click on the 'Screen 1' and go to the properties and go to the events..
因此,请确保选择“按”,转到此处并输入“激活”,这样我们就会看到一些选项转到“激活屏幕”,因此此“屏幕 1”(按钮)应激活“屏幕 1”,因此您将在此处自动看到您的屏幕列表,因为您已经创建了它。
so make sure the 'press' is selected go here and type 'activate' so we'll see some options go to 'activate screen' so this 'Screen 1' (button) should activate 'Screen 1' so here you will automatically see your screen list because you already created it.
因此,“屏幕 1”在这里,单击此按钮,您需要移至“屏幕 2”。
So 'Screen 1' is here click this one and here you need to move to 'Screen 2'..
因此,激活“屏幕”,类似地转到“屏幕 2”,因此它已被标记。
so activate 'screen' similarly goto 'Screen 2' so this has been tagged.
现在您必须再次移至屏幕 1',因为这是根屏幕,因此这是事件 - 激活屏幕。
Now you have to move to Screen 1' again as this is the root screen so this is the events - activate screen..
这将带您进入“根屏幕”,选择 1..然后转到“屏幕 2”(按钮)..
and this will take you to 'root screen' select 1..then go to 'Screen 2' (button) ..
激活屏幕。
activate screen.
我希望,这很容易,您知道,您只需通过首先创建屏幕来标记屏幕名称,因此这又是“屏幕 0”..
I hope, this is very easy you know ,, you just have to tag the screen names by creating the screen first so this is again 'Screen 0' ..
激活屏幕...
activate the screen...
这将带您进入根屏幕,或者我可以简单地将根屏幕按钮从后屏幕“复制粘贴”到此屏幕,但没关系......
this will take you me root screen or I can simply 'copy paste' the root screen buttons from back screen to this screen but it's ok...
这不是一个很大的作业。
it's not a big homework.
所以这将是“屏幕 1”的完美!?
So this is going to 'Screen 1' perfect!?
所以我不再喜欢灰色,所以我只想将其更改为“黄色”以在屏幕上显示变化。
So I don't like to Grey color anymore so I just want to change it to let's say 'yellow' to show the change in screen.
“屏幕 1”..
'Screen 1'..
我可以将颜色更改为一点点绿色。
I can change that color to let's say- little bit green.
因此,在我的 HMI 中再次下载此逻辑,让我们看看结果。
So downloading this logic again in my HMI and let's see the result.
好吧负载..
Alright load..
这是 HMI,所以现在我们通常这样做......
Here is the HMI so now this generally we do ...
当我们空间不足时,我们需要不同的屏幕来进行手动操作、自动操作和一些传感器监控,所以这里我们有“屏幕 1”(按钮),这是我的“屏幕 1”,这是我的“屏幕 2”,等等我可以转到“屏幕 1”,那是我的“屏幕 0”哎呀!?
when we are running out of space and we need different screens for manual operation, automatic operation and some sensor monitoring so here we have 'Screen 1' (button) so this is my 'Screen 1' and that's my 'Screen 2' and again I can go to 'Screen 1' and that's my 'Screen 0' oops!?
“屏幕 0”,这样您就可以在每个屏幕上看到您可以选择导航到其他屏幕。
'Screen 0' so you can see that from every screen you have option to navigate to other screens.
您必须确保,如果您在“屏幕 1”中,则必须为其他屏幕制作按钮......好吗!?
This you have to make sure that if you're in 'Screen 1' you have to make buttons for other screens..okay!?
如果您处于“屏幕 2”..
If you are in 'Screen 2'..
你必须为“Scream 0”和“Screen 1”制作按钮..
you have to make buttons for 'Scream 0' and 'Screen 1' ..
这就是您如何使用普通按钮的屏幕导航功能导航到不同的屏幕..好吧?
so that's how you can navigate to different screens using screen navigation function given to a normal button ..Alright?
谢谢您的观看?
Thank you for watching?